﻿Public Class TelefoneDTO

#Region "Atributos"

    Private _Numero As String
    Private _Ddd As String

#End Region

#Region "Propriedades"

    Public Property pNumero() As String
        Get
            Return _Numero
        End Get
        Set(ByVal value As String)
            If value.Length < 11 Then
                _Numero = value
            End If
        End Set
    End Property

    Public Property pDdd() As String
        Get
            Return _Ddd
        End Get
        Set(ByVal value As String)
            If value.Length < 3 Then
                _Ddd = value
            End If
        End Set
    End Property

#End Region

End Class
